import request from '@/utils/request'

// 设备表列表
export function apiDeviceLists(params: any) {
    return request.get({ url: '/device/lists', params })
}

// 添加设备表
export function apiDeviceAdd(params: any) {
    return request.post({ url: '/device/add', params })
}

// 编辑设备表
export function apiDeviceEdit(params: any) {
    return request.post({ url: '/device/edit', params })
}

// 删除设备表
export function apiDeviceDelete(params: any) {
    return request.post({ url: '/device/delete', params })
}

// 设备表详情
export function apiDeviceDetail(params: any) {
    return request.get({ url: '/device/detail', params })
}


export function apiDeviceStatus(params: any) {
    return request.get({ url: '/device/updateStatus', params })
}


